package com.scs.application.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityIndexAnnotation;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * <p>
 * 'fortec-bm.aa' is not BASE TABLE
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "院方科室对应关系表")
@TableName("base_dept_map")
@EntityIndexAnnotation(ux = {"his_code"})
public class DeptMap extends DataEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "his编码",
            length = "30",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String hisCode;

    @EntityFieldAnnotation(
            text = "his名称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String hisName;

    @EntityFieldAnnotation(
            text = "hrp编码",
            length = "30",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String hrpCode;

    @EntityFieldAnnotation(
            text = "hrp名称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String hrpName;


    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

}
